CFLAG=-Wall

src := $(wildcard *.c)
obj := $(patsubst %.c, %.o, $(src))

all: $(obj)
	cc $(CFLAG) -o a.out $(obj) -I. -lm
#	gcc -o main $(src) -I. -lm

.PHONY: clean

clean:
	rm *.o a.out
